import { createRouter, createWebHistory } from 'vue-router'

const router = createRouter({
  history: createWebHistory(import.meta.env.BASE_URL),
  routes: [
    {
      path: '/login',
      component: () => import('@/views/Login.vue')
    },
    {
      path: '/XitongGuanli',
      name: '系统管理',
      children: [
        {
          path: 'YHGL',
          component:() => import('@/views/XTGL/YHGL.vue'),

        },
        {
          path: 'CDGL',
          component:() => import('@/views/XTGL/CDGL.vue'),
          
        },
        {
          path: 'JSXXGL',
          component:() => import('@/views/XTGL/JSXXGL.vue'),
          
        }
      ]
    },
    {
      path: '/XinXiGuanli',
      name: '信息管理',
      children: [
        {
          path: 'DGSXXXGL',
          component:() => import('@/views/XXGL/DGSXXXGL.vue'),

        },
        {
          path: 'JSXXGL',
          component:() => import('@/views/XXGL/JSXXGL.vue'),
          
        },
        {
          path: 'SCSXXXGL',
          component:() => import('@/views/XXGL/SCSXXXGL.vue'),
          
        },
        {
          path: 'XSXXGL',
          component:() => import('@/views/XXGL/XSXXGL.vue'),
          
        }
      ]
    },
    {
      path: '/ShiXiGuanli',
      name: '实习管理',
      children: [
        {
          path: 'DGSXCJTJ',
          component:() => import('@/views/SXGL/DGSXCJTJ.vue'),

        },
        {
          path: 'DGSXGCGL',
          component:() => import('@/views/SXGL/DGSXGCGL.vue'),
          
        },
        {
          path: 'DGSXSH',
          component:() => import('@/views/SXGL/DGSXSH.vue'),
          
        },
        {
          path: 'SCSXCJTJ',
          component:() => import('@/views/SXGL/SCSXCJTJ.vue'),
          
        },
        {
          path: 'SCSXGCGL',
          component:() => import('@/views/SXGL/SCSXGCGL.vue'),
          
        },
        {
          path: 'SCSXSH',
          component:() => import('@/views/SXGL/SCSXSH.vue'),
        },
      ]
    },
    {
      path: '/SCSX',
      name: '生产实习',
      children: [
        {
          path: 'SCSXSQ',
          component:() => import('@/views/SCSX/SCSXSQ.vue'),

        },
        {
          path: 'WDCJ',
          component:() => import('@/views/SCSX/WDCJ.vue'),
          
        },
        {
          path: 'WDSCSX',
          component:() => import('@/views/SCSX/WDSCSX.vue'),
          
        },
        {
          path: 'WDSQ',
          component:() => import('@/views/SCSX/WDSQ.vue'),
          
        },
      ]
    },
    {
      path: '/FX',
      name: '分享',
      children: [
        {
          path: 'TLQ',
          component:() => import('@/views/FX/TLQ.vue'),

        },
        {
          path: 'WDFX',
          component:() => import('@/views/FX/WDFX.vue'),
          
        },
        {
          path: 'XXSH',
          component:() => import('@/views/FX/XXSH.vue'),
          
        },
      ]
    },
    {
      path: '/DGSX',
      name: '顶岗实习',
      children: [
        {
          path: 'DGSXSQ',
          component:() => import('@/views/DGSX/DGSXSQ.vue'),

        },
        {
          path: 'WDCJ',
          component:() => import('@/views/DGSX/WDCJ.vue'),
          
        },
        {
          path: 'WDDGSX',
          component:() => import('@/views/DGSX/WDDGSX.vue'),
          
        },
        {
          path: 'WDSQ',
          component:() => import('@/views/DGSX/WDSQ.vue'),
          
        },
      ]
    },
  ],
})

export default router
